EDI metadata


In [1]:
from pprint import pprint

When loading data from an EDI file, all the information from the original file will be included in Site['datasource']


In [2]:
import mtwaffle
edi = mtwaffle.read_edi('bwa2890.edi')
type(edi)


Out[2]:
mtwaffle.mtsite.Site

In [3]:
pprint(edi['datasource'])


{'EDI': {'DEFINEMEAS': {'MAXCHAN': 6,
                        'MAXMEAS': 99999,
                        'MAXRUN': 999,
                        'REFEASTING': nan,
                        'REFELEV': 0,
                        'REFLAT': -29.26535489,
                        'REFLONG': 136.6646507,
                        'REFNORTHING': nan,
                        'REFTYPE': 'CART',
                        'REFX': nan,
                        'REFY': nan,
                        'REFZONE': '53J',
                        'UNITS': 'M'},
         'FREQ': [0.030518,
                  0.045776,
                  0.061035,
                  0.24414,
                  0.48828,
                  0.73242,
                  1.4648,
                  1.9531,
                  2.9297,
                  3.9062,
                  5.8594,
                  7.8125,
                  11.719,
                  15.625,
                  23.438,
                  31.25,
                  46.875,
                  62.5,
                  93.75,
                  125.0],
         'HEAD': {'DATAID': 'bwa2890',
                  'EASTING': nan,
                  'ELEV': 0,
                  'LAT': -29.26535489,
                  'LONG': 136.6646507,
                  'NORTHING': nan,
                  'ZONE': '53J'},
         'MTSECT': {'EX': 1003.001,
                    'EY': 1004.001,
                    'HX': 1001.001,
                    'HY': 1002.001,
                    'NFREQ': 20,
                    'RX': 1005.001,
                    'RY': 1006.001,
                    'SECTID': 114},
         'ZXX.SDEV': array([ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
        0.,  0.,  0.,  0.,  0.,  0.,  0.]),
         'ZXX.VAR': [0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0],
         'ZXXI': [-0.79361,
                  -0.94345,
                  -0.48594,
                  0.068462,
                  -0.43625,
                  -0.37074,
                  -0.50657,
                  -0.48218,
                  -0.37645,
                  -0.29186,
                  -0.20842,
                  0.27786,
                  0.34704,
                  0.63522,
                  0.95935,
                  1.2004,
                  1.2771,
                  1.2227,
                  0.9778,
                  0.2749],
         'ZXXR': [-2.6522,
                  -3.4179,
                  -3.4198,
                  -3.1276,
                  -3.6339,
                  -3.6531,
                  -3.9647,
                  -4.0128,
                  -4.2103,
                  -4.3636,
                  -4.6565,
                  -4.7214,
                  -4.7217,
                  -4.4021,
                  -4.2256,
                  -3.8702,
                  -3.3716,
                  -2.9752,
                  -2.4059,
                  -2.3529],
         'ZXY.SDEV': array([ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
        0.,  0.,  0.,  0.,  0.,  0.,  0.]),
         'ZXY.VAR': [0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0],
         'ZXYI': [3.114,
                  3.07,
                  3.0008,
                  3.0562,
                  2.6207,
                  2.2388,
                  2.6642,
                  2.7633,
                  3.142,
                  3.3817,
                  3.8248,
                  4.027,
                  4.3743,
                  4.9527,
                  5.6541,
                  6.362,
                  7.5711,
                  8.9053,
                  10.924,
                  14.68],
         'ZXYR': [3.8817,
                  5.6012,
                  7.1878,
                  10.282,
                  11.353,
                  11.625,
                  12.421,
                  12.714,
                  13.439,
                  14.214,
                  15.307,
                  15.653,
                  17.061,
                  17.162,
                  18.218,
                  19.14,
                  20.221,
                  21.311,
                  23.019,
                  24.179],
         'ZYX.SDEV': array([ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
        0.,  0.,  0.,  0.,  0.,  0.,  0.]),
         'ZYX.VAR': [0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0],
         'ZYXI': [-2.891,
                  -3.179,
                  -3.1703,
                  -2.9489,
                  -2.7661,
                  -2.7694,
                  -3.3196,
                  -3.5342,
                  -4.0317,
                  -4.1105,
                  -4.3562,
                  -4.4124,
                  -4.5648,
                  -5.0349,
                  -5.6596,
                  -6.2459,
                  -7.5514,
                  -8.9957,
                  -11.534,
                  -15.141],
         'ZYXR': [-4.3553,
                  -5.7065,
                  -6.8215,
                  -9.2003,
                  -10.217,
                  -10.625,
                  -11.681,
                  -12.23,
                  -13.42,
                  -14.345,
                  -15.982,
                  -16.426,
                  -17.753,
                  -17.462,
                  -18.556,
                  -19.448,
                  -20.34,
                  -21.286,
                  -22.896,
                  -23.807],
         'ZYY.SDEV': array([ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
        0.,  0.,  0.,  0.,  0.,  0.,  0.]),
         'ZYY.VAR': [0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0,
                     0.0],
         'ZYYI': [0.59825,
                  0.7519,
                  0.91463,
                  0.27891,
                  0.33967,
                  0.41102,
                  0.10122,
                  -0.011621,
                  -0.1323,
                  -0.31541,
                  -0.49362,
                  -0.099365,
                  -1.124,
                  -0.87051,
                  -1.195,
                  -1.3723,
                  -1.6244,
                  -1.7395,
                  -1.7048,
                  -1.7843],
         'ZYYR': [2.3661,
                  2.6531,
                  2.2656,
                  2.9761,
                  3.2388,
                  3.3357,
                  3.7179,
                  3.6997,
                  3.7148,
                  3.6293,
                  3.7238,
                  3.6658,
                  3.5965,
                  3.2334,
                  3.0066,
                  2.6907,
                  2.2263,
                  1.8311,
                  1.2392,
                  0.93289]}}

In [4]: